allowCategory

@NonNull
open fun allowCategory(@NonNull category: @NonNull String): @NonNull IntentSanitizer.Builder(source)

Add a category to the allowed category list. This method can be called multiple times and the result is additive. They will not overwrite each other.

Return

this builder.

Parameters

category

the allowed category.


@NonNull
open fun allowCategory(@NonNull filter: @NonNull Predicate<String>): @NonNull IntentSanitizer.Builder(source)

Add a filter for allowed categories. This method can be called multiple times and the result is additive. They will not overwrite each other.

Return

this builder.

Parameters

filter

the category filter.